﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Itech_Run.Domain.Shared.Base;

namespace Itech_Run.Sys.Domain.Entity
{

    public partial class Blog_Interest: CustomAggregateRoot<string>
    {

        [ForeignKey("Blog_Info")] 
        [Required]
        [StringLength(36)]
        public string BlogId { get; set; }

        public int? ReadNum { get; set; }

        public int? RecommendNum { get; set; }

        public int? OpposeNum { get; set; }

        public virtual Blog_Info Blog { get; set; }

    }
}
